package com.ac.scum.log.web.model.wechat.pay.mapper;

import com.ac.scum.pay.PayPackSub;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PayPackSubMapper extends BaseMapper<PayPackSub> {

    @Select("SELECT * FROM pay_pack_sub WHERE pay_pack_id = #{payPackId}")
    List<PayPackSub> selectPayPackSubsByPayPackId(Long payPackId);
}
